


var modules = {
    "./name.js": () => {
        var module = {};
        module.exports = "大伟聊前端";
        return module.exports;
    },
};
const require = (modulePath) => {
    return modules[modulePath]();
};

let name = require("./name.js");
console.log("name", name);